<?php foreach($cat as $cat_rec): ?>
	<form id="frm-edit-cat" action="<?php echo site_url("mimin_jonu/updatecategory/".$cat_rec['jonu_category_id']) ?>" method="post">
		<div class="input-group">
		<input class="form-control" type="text" name="cat_name" value="<?php echo $cat_rec['jonu_category_name'] ?>"/>
			<span class="input-group-btn">
				<button class="btn btn-default" type="submit" name="btn_edit_cat" value="Update"><i class="fa fa-fw fa-pencil"></i></button>
			</span>
		</div>
	</form>	
<?php endforeach; ?>